package com.cowcode.entity;

public class Study {//学习内容
    private int sid;
    private String sname;//名字
    private int sdownload;//下载量
    private String surl;//地址

    @Override
    public String toString() {
        return "Study{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", sdownload=" + sdownload +
                ", surl='" + surl + '\'' +
                '}';
    }

    public Study() {
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public int getSdownload() {
        return sdownload;
    }

    public void setSdownload(int sdownload) {
        this.sdownload = sdownload;
    }

    public String getSurl() {
        return surl;
    }

    public void setSurl(String surl) {
        this.surl = surl;
    }

    public Study(int sid, String sname, int sdownload, String surl) {
        this.sid = sid;
        this.sname = sname;
        this.sdownload = sdownload;
        this.surl = surl;
    }


}
